package com.chen.springboot.service;

import com.chen.springboot.dto.uniapp.Banner;
import com.chen.springboot.mapper.uniapp.BannerMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BannerService {
    @Autowired
    private BannerMapper bannerMapper;
    public List<Banner> getAllBanners() {
        return bannerMapper.getAllBanners();
    }
}
